public class Main {
    public static void main(String[] args) {
        Link link=new Link();
        Thread lesson=new Lesson(link.getSocket());
        Thread talk=new Talk(link.getSocket(), link.getName());
        talk.start();
        lesson.start();
    }
}